
package cn.edu.scau.cmi.hombio.dao;

import cn.edu.scau.cmi.hombio.domain.MedicineTake;

import java.util.Calendar;
import java.util.Set;

import org.skyway.spring.util.dao.JpaDao;

import org.springframework.dao.DataAccessException;

/**
 * DAO to manage MedicineTake entities.
 * 
 */
public interface MedicineTakeDAO extends JpaDao<MedicineTake> {

	/**
	 * JPQL Query - findAllMedicineTakes
	 *
	 */
	public Set<MedicineTake> findAllMedicineTakes() throws DataAccessException;

	/**
	 * JPQL Query - findAllMedicineTakes
	 *
	 */
	public Set<MedicineTake> findAllMedicineTakes(int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findMedicineTakeByTime
	 *
	 */
	public Set<MedicineTake> findMedicineTakeByTime(java.util.Calendar time) throws DataAccessException;

	/**
	 * JPQL Query - findMedicineTakeByTime
	 *
	 */
	public Set<MedicineTake> findMedicineTakeByTime(Calendar time, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findMedicineTakeById
	 *
	 */
	public MedicineTake findMedicineTakeById(Integer id) throws DataAccessException;

	/**
	 * JPQL Query - findMedicineTakeById
	 *
	 */
	public MedicineTake findMedicineTakeById(Integer id, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findMedicineTakeByMemo
	 *
	 */
	public Set<MedicineTake> findMedicineTakeByMemo(String memo) throws DataAccessException;

	/**
	 * JPQL Query - findMedicineTakeByMemo
	 *
	 */
	public Set<MedicineTake> findMedicineTakeByMemo(String memo, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findMedicineTakeByMemoContaining
	 *
	 */
	public Set<MedicineTake> findMedicineTakeByMemoContaining(String memo_1) throws DataAccessException;

	/**
	 * JPQL Query - findMedicineTakeByMemoContaining
	 *
	 */
	public Set<MedicineTake> findMedicineTakeByMemoContaining(String memo_1, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findMedicineTakeByPrimaryKey
	 *
	 */
	public MedicineTake findMedicineTakeByPrimaryKey(Integer id_1) throws DataAccessException;

	/**
	 * JPQL Query - findMedicineTakeByPrimaryKey
	 *
	 */
	public MedicineTake findMedicineTakeByPrimaryKey(Integer id_1, int startResult, int maxRows) throws DataAccessException;

}